<?php

namespace app\model;

use app\BaseModel;

/**
 * 部门等级规则
 */
class DepartmentLevelModel extends BaseModel
{
    protected $name = 'department_level';

    /**
     * 新增数据验证
     * @return array
     */
    public function addValidate()
    {
        return [
            'unit_id|单位ID' =>  'require',
            'uid|用户ID' =>  'require',
            'name|规则名称' =>  'require',
            'level_rules|等级规则路线' =>  'require',
        ];
    }



}